
  var isIE;
  var eventValue;

  function checkIE()
  {
      if (navigator.appName == "Microsoft Internet Explorer") 
          isIE = true;
      else
          isIE = false;
  }

  function startMouseCapture(objCapture)
  {
      if ( isIE == false )
          return;

      objCapture.setCapture();
  }

  function endMouseCapture(objCapture)
  {
      if ( isIE == false )
          return;

      objCapture.releaseCapture();
  }

  function doMove()
  {
      var divLayer = document.getElementById('debug');
      var x, y;

      if ( isIE == false )
      {
          x = eventValue.pageX;
          y = eventValue.pageY;
      }
      else
      {
          x = event.x;
          y = event.y;
      }
			///
      
      var min_x=767;
      var min_y=100;
      var xx = x-min_x;
      var yy = y-min_y;
      
      if(xx>=4 && yy>=13 && xx<=68+4 && yy<=68+13)
      {	
      	document.getElementById("index_side_1").style.display="block";
      }else if(xx>=4 && yy>=102 && xx<=68+4 && yy<=102+68)
      {
      	document.getElementById("index_side_2").style.display="block";    
      }else if(xx>=4 && yy>=194 && xx<=68+4 && yy<=194+68)
      {
      	document.getElementById("index_side_3").style.display="block";    
      }else if(xx>=4 && yy>=288 && xx<=68+4 && yy<=288+68)
      {
      	document.getElementById("index_side_4").style.display="block";    
      }else
      {
      	resetElementState();
      }
      
      ///
  }
  function resetElementState()
  {
  	document.getElementById("index_side_1").style.display="none";
   	document.getElementById("index_side_2").style.display="none";
   	document.getElementById("index_side_3").style.display="none";
   	document.getElementById("index_side_4").style.display="none";
  }

  function SaveMouseEvent(e)
  {
     eventValue = e;
  }

  function initMouseCapture()
  {
      checkIE();

      if (isIE == false)
      {
          document.addEventListener('mousemove',SaveMouseEvent,false);
      }
  } 